package org.example4.a;

import org.springframework.stereotype.Service;

//没有接口的类
@Service("productService")
public class ProductService {
	public void save() {
		System.out.println("	ProductService类中的save方法执行了");
	}

	public int find() {
		System.out.println("	ProductService类中的find方法执行了");
		return 99;
	}
}
